#pragma once

#include <QDialog>
#include <ui_checkboxSetting.h>
#include <qcolordialog.h>
#include <qpainter.h>
#include "Utils.h"
#include "Texture.h"

class CheckboxSetting : public QDialog
{
	Q_OBJECT

public:
	CheckboxSetting(checkBox* tex, QWidget *parent);
	void paintEvent(QPaintEvent* e);
	~CheckboxSetting();

private slots:
	void onApply();
	void onChangeColor_1();
	void onChangeColor_2();

private:
	checkBox* tex;
	Ui::Dialog ui;
};
